from flask import Flask


def create_app():
    app = Flask(__name__)
    app.secret_key = "sdlvjsdovihsvnlsdvjpsl"

    from .vews import users, writer

    app.register_blueprint(users.us)
    app.register_blueprint(writer.wr)

    return app
